﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Omes.Services;

namespace FashionMural.Web
{
    public partial class Map : System.Web.UI.Page
    {
        private IPageService pageservice;
        public List<Omes.Model.Page> ChildPageServers { get; set; }
        public List<Omes.Model.Page> ChildPageProducts { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            pageservice = new PageService();
            //获取项目子页面
            int sid = int.Parse(System.Configuration.ConfigurationManager.AppSettings["fwxm"]);
            ChildPageServers = pageservice.GetChildPage(sid);
            int pid = int.Parse(System.Configuration.ConfigurationManager.AppSettings["cpzx"]);
            ChildPageProducts = pageservice.GetChildPage(pid);
        }
    }
}